#!/usr/bin/env python3
# -*- coding=utf-8 -*-
# 题目：求100之内的素数。

def f1(n=100):
    a = [2]
    for i in range(3, n+1):
        for j in a:
            if i % j == 0:
                break
        else:
            a.append(i)
    print(a)


f = f1
if __name__ == "__main__":
    f()
